package com.slz3.business.module.configManagement.conActivityForecast.service;

import com.slz3.business.module.configManagement.conActivityForecast.domain.ConActivityForecast;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.data.domain.Page;
import org.springframework.util.MultiValueMap;

import java.util.List;
import java.util.Optional;
import java.util.UUID;
import java.util.stream.Stream;

/**
 * 非事务型 service
 */
public interface ConActivityForecastService {

    ConActivityForecast save(ConActivityForecast conActivityForecast);

    Page<ConActivityForecast> page(MultiValueMap<String,String> queryParams);

    ConActivityForecast modify(ConActivityForecast conActivityForecast);

    Optional<ConActivityForecast> single(UUID uuid);

    List<ConActivityForecast> findAllByUuids(Iterable<UUID> uuids);

    List<ConActivityForecast> delete(List<ConActivityForecast> conActivityForecastList);
}
